<html>
<head><meta charset="utf-8"><title>My hypothesis was correct · project-portable-simd · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/index.html">project-portable-simd</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/My.20hypothesis.20was.20correct.html">My hypothesis was correct</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="218790384"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/My%20hypothesis%20was%20correct/near/218790384" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/My.20hypothesis.20was.20correct.html#218790384">(Dec 04 2020 at 03:27)</a>:</h4>
<p>Much belatedly, finally gave it a go and <a href="https://github.com/rust-lang/stdsimd/pull/47">https://github.com/rust-lang/stdsimd/pull/47</a> does in fact work out. Also for some reason the wasm SIMD mask tests fail on the current version of stdsimd but not  <a href="https://github.com/rust-lang/stdsimd/pull/48's">https://github.com/rust-lang/stdsimd/pull/48's</a> version.</p>



<a name="218790480"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/My%20hypothesis%20was%20correct/near/218790480" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/My.20hypothesis.20was.20correct.html#218790480">(Dec 04 2020 at 03:29)</a>:</h4>
<p>I had issues with wasm masks, but only u128 masks (and it went away with a more recent nightly)</p>



<a name="218791038"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/My%20hypothesis%20was%20correct/near/218791038" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/My.20hypothesis.20was.20correct.html#218791038">(Dec 04 2020 at 03:40)</a>:</h4>
<p><span class="user-mention" data-user-id="312331">@Caleb Zulawski</span> Yeah, my PR has the same issue even though I don't touch that code at all, but yours does not. So some logic change you did appears to matter as well.</p>



<a name="218791142"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/My%20hypothesis%20was%20correct/near/218791142" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/My.20hypothesis.20was.20correct.html#218791142">(Dec 04 2020 at 03:43)</a>:</h4>
<p>I actually think it might be some sort of accidental UB (in IR, not in rust) or LLVM bug or something, because it was completely illogical.  Two masks with the same bit patterns (from debug printing) didnt return true for <code>eq</code></p>



<a name="218791204"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/My%20hypothesis%20was%20correct/near/218791204" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/My.20hypothesis.20was.20correct.html#218791204">(Dec 04 2020 at 03:44)</a>:</h4>
<p>I would have tried to attach a debugger but I don't really know how that would work with wasm if at all</p>



<a name="218791238"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/My%20hypothesis%20was%20correct/near/218791238" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/My.20hypothesis.20was.20correct.html#218791238">(Dec 04 2020 at 03:45)</a>:</h4>
<p>uh often the answer is "it doesn't" lol</p>



<a name="218791247"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/My%20hypothesis%20was%20correct/near/218791247" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/My.20hypothesis.20was.20correct.html#218791247">(Dec 04 2020 at 03:45)</a>:</h4>
<p>lol</p>



<a name="218792340"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/My%20hypothesis%20was%20correct/near/218792340" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Thom Chiovoloni <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/My.20hypothesis.20was.20correct.html#218792340">(Dec 04 2020 at 04:07)</a>:</h4>
<p>and finally we know who bors has been this whole time...</p>



<a name="219275488"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/My%20hypothesis%20was%20correct/near/219275488" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/My.20hypothesis.20was.20correct.html#219275488">(Dec 08 2020 at 23:04)</a>:</h4>
<p><span class="user-mention" data-user-id="312331">@Caleb Zulawski</span> We OK to merge this? I was going to hold off until feature/comparisons merged but since you're extending work on that w/ const generics I think I should just advance this plot.</p>



<a name="219275529"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/My%20hypothesis%20was%20correct/near/219275529" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/My.20hypothesis.20was.20correct.html#219275529">(Dec 08 2020 at 23:05)</a>:</h4>
<p>Sure</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>